package com.kws.tool.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author : zhangbenting
 * @date : 2024/10/22 19:53
 * @Version: 1.0
 */
@TableName(value = "tb_tool_policy_location")
@Data
public class PolicyLocationEntity implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 上级ID
     */
    @ApiModelProperty("上级ID")
    private Long pId;

    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String name;
}
